package com.topisv.tms.entity.stock.check;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;

/**
 * 盘点记录
 * @author ch
 *
 */
@Entity
@Table(name="check_info")
public class CheckInfo extends IdEntity implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String planCode;
    private String customerCode;
    private String warehouseCode;
    private String stockCode;
    private String boxCode;
    private String sku;
    private int num;
    private Date opeTime;
    
	
	public String getPlanCode() {
		return planCode;
	}
	public void setPlanCode(String planCode) {
		this.planCode = planCode;
	}
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getStockCode() {
		return stockCode;
	}
	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}
	public String getBoxCode() {
		return boxCode;
	}
	public void setBoxCode(String boxCode) {
		this.boxCode = boxCode;
	}
	public String getSku() {
		return sku;
	}
	public void setSku(String sku) {
		this.sku = sku;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public Date getOpeTime() {
		return opeTime;
	}
	public void setOpeTime(Date opeTime) {
		this.opeTime = opeTime;
	}
	
	//dto属性
	private Customers customer;
	private AreaGroup warehouse;
	private CheckPlan plan;

	@Transient
	public Customers getCustomer() {
		return customer;
	}
	public void setCustomer(Customers customer) {
		this.customer = customer;
	}
	
	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}
	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}
	
	@Transient
	public CheckPlan getPlan() {
		return plan;
	}
	public void setPlan(CheckPlan plan) {
		this.plan = plan;
	}
	
}